File: /var/www/vhosts/creativefellows.nl/okaycolor.creativefellows.nl/views/inc/cart/cart.sidebar.php
<div class="grid-x grid-padding-x align-right">
<div class="cell small-12 medium-10" data-sticky-container>
<div class="sticky" data-sticky="" data-margin-top="5.5" data-anchor="shopping-cart" data-sticky-on="medium">
<div class="callout">
<form action="<?php echo $router->pathFor("cart.confirm"); ?>" method="post">
<div class="grid-x grid-padding-x">
<div class="cell small-5 medium-12 show-for-medium">
<h3>Bestelling</h3>
<ul class="no-bullet">
<li class="clearfix">
<strong>Totaal producten</strong>
<span class="text-right"><?php echo $cart->getOrderSubtotal(true); ?></span>
</li>
<li class="clearfix">
<strong>Verzendkosten</strong><span class="text-right" id="cart-delivery-costs"><?php echo $config->formatPrice($delivery[0]->priceTotal(),false) ?></span>
</li>
<li class="clearfix ">
<strong>Spoedservice</strong><span class="text-right" id="cart-delivery-premium"><?php echo $config->formatPrice(0,false) ?></span>
</li>
<li class="spacer clearfix">
<strong>Ontvanger</strong><br />
<div class="selected-full-address">
<?php
if($user["default_address"]) echo $user["default_address"]->getAddressFull();
else echo "Niet nog geselecteerd";
?>
</div>
</li>
<li class="spacer"><strong>Leverdatum</strong></li>
<li id="cart-delivery-date">
<?php
echo ucfirst( strftime("%A %e %B",strtotime( end($premium)->timeStamp(-1) )) );
?>
</li>
</ul>
</div>
<div class="cell small-7 medium-12 small-order-2">
<button type="button" class="button secondary expanded"><i class="fal fa-shopping-cart"></i> Volgende stap</button>
</div>
<div class="cell small-5 medium-12 text-left medium-text-center small-order-1 winkelwagen" id="product-preview-price">
<h2>
€ <span class="amount-no-tax" order-total><?php echo $cart->totalWithDelivery( $delivery[0]->priceTotal(), true); ?></span>
<span class="h5 subheader">€ <span class="amount-with-tax" order-tax><?php echo $cart->priceTotalWithTax( $delivery[0]->priceTotal(), true); ?></span> (incl. BTW)</span>
</h2>
</div>
</div>
<input type="hidden" name="delivery_id" id="delivery_id" value="<?php if($user["default_address"]) echo $user["default_address"]->id(); ?>" required>
<input type="hidden" name="delivery_type" id="delivery_type" value="default" required>
<input type="hidden" name="delivery_date" id="delivery_date" value="<?php echo end($premium)->timeStamp(); ?>" required>
</form>
</div>
</div>
</div>
</div>